import request from '@/utils/request';

//

export const classList = (data) => {
  return request({
    url: '/dev-api/api/WorkOrder/classList',
    method: 'post',
    data: data,
  });
};

//创建工单
export const createWorkOrder = (data) => {
  return request({
    url: '/dev-api/api/WorkOrder/saveWorkOrder',
    method: 'post',
    data: data,
  });
};

//工单列表
export const getWorkList = (data) => {
  return request({
    url: '/dev-api/api/WorkOrder/list',
    method: 'post',
    data: data,
  });
};
